Optimal. Leaf size=71 \[ \frac{2 a (c+d x)^{3/2}}{3 d}-\frac{1}{2} \sqrt{\pi } b \sqrt{d} e^{-\frac{c}{d}} \text{Erfi}\left (\frac{\sqrt{c+d x}}{\sqrt{d}}\right )+b e^x \sqrt{c+d x} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.151445, antiderivative size = 71, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.235 \[ \frac{2 a (c+d x)^{3/2}}{3 d}-\frac{1}{2} \sqrt{\pi } b \sqrt{d} e^{-\frac{c}{d}} \text{Erfi}\left (\frac{\sqrt{c+d x}}{\sqrt{d}}\right )+b e^x \sqrt{c+d x} \]
Antiderivative was successfully verified.
[In] Int[(a + b*E^x)*Sqrt[c + d*x],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 12.4498, size = 61, normalized size = 0.86 \[ \frac{2 a \left (c + d x\right )^{\frac{3}{2}}}{3 d} - \frac{\sqrt{\pi } b \sqrt{d} e^{- \frac{c}{d}} \operatorname{erfi}{\left (\frac{\sqrt{c + d x}}{\sqrt{d}} \right )}}{2} + b \sqrt{c + d x} e^{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a+b*exp(x))*(d*x+c)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.593539, size = 106, normalized size = 1.49 \[ \sqrt{c+d x} \left (\frac{2 a c}{3 d}+\frac{2 a x}{3}+\frac{b e^{-\frac{c}{d}} \left (-\sqrt{\pi } \text{Erf}\left (\sqrt{-\frac{c+d x}{d}}\right )+2 e^{\frac{c}{d}+x} \sqrt{-\frac{c+d x}{d}}+\sqrt{\pi }\right )}{2 \sqrt{-\frac{c+d x}{d}}}\right ) \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*E^x)*Sqrt[c + d*x],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.008, size = 77, normalized size = 1.1 \[ 2\,{\frac{1}{d} \left ( 1/3\, \left ( dx+c \right ) ^{3/2}a+{b \left ( 1/2\,\sqrt{dx+c}{{\rm e}^{{\frac{dx+c}{d}}}}d-1/4\,{d\sqrt{\pi }{\it Erf} \left ( \sqrt{-{d}^{-1}}\sqrt{dx+c} \right ){\frac{1}{\sqrt{-{d}^{-1}}}}} \right ) \left ({{\rm e}^{{\frac{c}{d}}}} \right ) ^{-1}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a+b*exp(x))*(d*x+c)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.807371, size = 111, normalized size = 1.56 \[ \frac{4 \,{\left (d x + c\right )}^{\frac{3}{2}} a - 3 \,{\left (\frac{\sqrt{\pi } d \operatorname{erf}\left (\sqrt{d x + c} \sqrt{-\frac{1}{d}}\right ) e^{\left (-\frac{c}{d}\right )}}{\sqrt{-\frac{1}{d}}} - 2 \, \sqrt{d x + c} d e^{\left (\frac{d x + c}{d} - \frac{c}{d}\right )}\right )} b}{6 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x + c)*(b*e^x + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.294201, size = 101, normalized size = 1.42 \[ -\frac{3 \, \sqrt{\pi } b d \operatorname{erf}\left (\sqrt{d x + c} \sqrt{-\frac{1}{d}}\right ) e^{\left (-\frac{c}{d}\right )} - 2 \,{\left (2 \, a d x + 3 \, b d e^{x} + 2 \, a c\right )} \sqrt{d x + c} \sqrt{-\frac{1}{d}}}{6 \, d \sqrt{-\frac{1}{d}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x + c)*(b*e^x + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 4.42522, size = 76, normalized size = 1.07 \[ \frac{2 a \left (c + d x\right )^{\frac{3}{2}}}{3 d} + b \sqrt{c + d x} e^{- \frac{c}{d}} e^{\frac{c}{d} + x} + \frac{i \sqrt{\pi } b e^{- \frac{c}{d}} \operatorname{erf}{\left (i \sqrt{c + d x} \sqrt{\frac{1}{d}} \right )}}{2 \sqrt{\frac{1}{d}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a+b*exp(x))*(d*x+c)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.321412, size = 93, normalized size = 1.31 \[ \frac{4 \,{\left (d x + c\right )}^{\frac{3}{2}} a + 3 \,{\left (\frac{\sqrt{\pi } d^{2} \operatorname{erf}\left (-\frac{\sqrt{d x + c} \sqrt{-d}}{d}\right ) e^{\left (-\frac{c}{d}\right )}}{\sqrt{-d}} + 2 \, \sqrt{d x + c} d e^{x}\right )} b}{6 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x + c)*(b*e^x + a),x, algorithm="giac")
[Out]